package service;
import pojo.Page;
import pojo.SCMUser;

import java.util.List;

/**
 * @Author Admin
 * @date 2022/11/8 17:53
 * @Description TODO
 * @Version 1.0
 **/
public interface SCMUserService {
    SCMUser getUserByAccount(String account, String password);
    int getCount(SCMUser scmUser);
    List<SCMUser> getUsers(Page<SCMUser> page, SCMUser scmUser);

    //新增验证用户
    SCMUser checkUser(String account);
    //新增用户
    void addOrUpdateUser(SCMUser u);

    //删除
    void delUser(String account);

    //查看用户
    SCMUser getUser(String account);

    //注册
    void addUser(SCMUser u);
}
